package com.szy.douyou_article.service;

import com.szy.douyou_article.config.ResultDTO;
import com.szy.douyou_article.dao.Friend;

import java.util.List;
import java.util.Set;

/**
 * @author sunziyan
 * @date 2022/4/19
 */
public interface FriendService {

    ResultDTO saveChatHistory(Friend friend);

    ResultDTO getChatHistory(Friend friend);

    Set<String> getFriendIdByUserId(Long userId);

    ResultDTO insertFriend(Friend friend);

    ResultDTO getMyFriend(Long userId,int pageNo,int pageSize);

}
